#pragma once

//////////////
// Includes //
//////////////

#include "afxtempl.h"

///////////
// Class //
///////////

#define MATCH_PERFECT 3
#define MATCH_GOOD 2
#define MATCH_OK 1
#define MATCH_AVERAGE 0

class Album {
public:
	Album();
	virtual		~Album();

	void			setAmazonLink(CString s);
	void			setId(CString s);
	void			setImageUrl(CString s);
	void			setImageLargeUrl(CString s);
	void			setAsin(CString s);
	void			setArtist(CString s);
	void			setTitle(CString s);
	void			setDate(CString s);
	void			setPrice(CString s);
	void			setUsedPrice(CString s);
	void			setAverageRating(CString s);
	void			setGenre(CString s);
	void			setTracks(CString s);
	void			setReviewRatings(CString s);
	void			setReviewSummaries(CString s);
	void			setReviewReviews(CString s);
	
	CString			getAmazonLink(void);
	CString			getId(void);
	CString			getImageUrl(void);
	CString			getImageLargeUrl(void);
	CString			getImageFile(void);
	CString			getImageLargeFile(void);
	CString			getAsin(void);
	CString			getArtist(void);
	CString			getTitle(void);
	CString			getDate(void);
	CString			getDateYear(void);
	CString			getPrice(void);
	CString			getAverageRating(void);
	CString			getGenre(void);
	CString			getTracks(int i);
	int				getTracksSize(void);
	CString			getReviewRatings(int i);
	int				getReviewRatingsSize(void);
	CString			getReviewSummaries(int i);
	int				getReviewSummariesSize(void);
	CString			getReviewReviews(int i);
	int				getReviewReviewsSize(void);
	
protected:
	CString			amazonLink;
	CString			id;
	CString			imageUrl;
	CString			imageLargeUrl;
	CString			asin;
	CString			artist;
	CString			title;
	CString			date;
	CString			price;
	CString			averageRating;
	CString			genre;

	CList<CString,CString&>	tracks;
	CList<CString,CString&>	reviewRatings;
	CList<CString,CString&>	reviewSummaries;
	CList<CString,CString&>	reviewReviews;
public:
	int _match;
	int _matchTrack;
};

/////////
// End //
/////////
